// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'//引入element-ui样式
import "@/assets/normalize.css";/*重置页面元素的默认样式*/
import "@/assets/mycss.css"; /*引入自定义的css方式*/

//全局注册axios
Vue.prototype.$http=axios;
Vue.config.productionTip = false;
Vue.use(ElementUI)//注册element-ui

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
